package starkuz.lg.dao.ifaces;

import starkuz.lg.model.User;

import java.util.List;

public interface UserDao {

    public List<User> getAllUsers();

    public User findUserById(Integer id);

    public User findUserByOrderSiteId(Integer siteId);

    public User findUserByCtrSiteId(Integer siteId);

    public void addUser(User user);

    public void deleteUserById(Integer userId);

    public void updateUser(User user);

    public User findUserByLoginAndPassword(String login, String password);

    public User findUserByLogin(String login);


}
